From c3cfd8df02af6b66c7aeceb61ffc2ac948fa008a Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Sun, 3 Aug 2025 06:19:32 +0200 Subject: [PATCH] system-linux: add variable initialization to avoid compiler warnings on older gcc Signed-off-by: Felix Fietkau --- system-linux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-linux.c b/system-linux.c index 29f9b4d..7f6df9e 100644 --- a/system-linux.c +++ b/system-linux.c @@ -3106,7 +3106,7 @@ int system_if_dump_info(struct device *dev, struct blob_buf *b) { __u32 *supported, *advertising, *lp_advertising; - bool rx_pause, tx_pause, pause_autoneg; + bool rx_pause = false, tx_pause = false, pause_autoneg; struct { struct ethtool_link_settings req; __u32 link_mode_data[3 * 127]; -- 2.30.2